package com.example.biz.impl;

import com.example.biz.IPersimissionBiz;
import com.example.dao.PermissionMapper;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Set;

/**
 * @Author:帅帅的刘
 * @Description:
 * @Date:Create In 2019-09-18 10:59
 **/
@Service
public class IPersimissionBizImpl implements IPersimissionBiz {
    @Resource
    private PermissionMapper  mapper;
    @Override
    public Set<String> findPersimission(Integer uid) {
        return mapper.querPerByRid(uid);
    }
}
